package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.SysDictRegion;

/**
 * 区划Service接口
 * 
 * @author ruoyi
 * @date 2024-12-10
 */
public interface ISysDictRegionService 
{
    /**
     * 查询区划
     * 
     * @param code 区划主键
     * @return 区划
     */
    public SysDictRegion selectSysDictRegionByCode(String code);

    /**
     * 查询区划列表
     * 
     * @param sysDictRegion 区划
     * @return 区划集合
     */
    public List<SysDictRegion> selectSysDictRegionList(SysDictRegion sysDictRegion);

    /**
     * 新增区划
     * 
     * @param sysDictRegion 区划
     * @return 结果
     */
    public int insertSysDictRegion(SysDictRegion sysDictRegion);

    /**
     * 修改区划
     * 
     * @param sysDictRegion 区划
     * @return 结果
     */
    public int updateSysDictRegion(SysDictRegion sysDictRegion);

    /**
     * 批量删除区划
     * 
     * @param codes 需要删除的区划主键集合
     * @return 结果
     */
    public int deleteSysDictRegionByCodes(String[] codes);

    /**
     * 删除区划信息
     * 
     * @param code 区划主键
     * @return 结果
     */
    public int deleteSysDictRegionByCode(String code);
}
